package com.boarsoft.boar.code.entity;

import java.io.Serializable;

public class BeanMapping implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * Id
	 */
	private String id;

	/**
	 * codeId对应wrapHandlerInfo或者proHandlerInfo的id
	 */
	private String codeId;

	/**
	 * 存储数据key值
	 */
	private String key;

	/**
	 * 目标类型
	 */
	private String toType;

	/**
	 * 目标对象
	 */
	private String toObj;

	/**
	 * 目标属性
	 */
	private String toProp;

	/**
	 * 目标属性类型
	 */
	private String toPropType;

	/**
	 * 来源类型
	 */
	private String fromType;

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	/**
	 * 来源对象
	 */
	private String fromObj;

	/**
	 * 来源属性
	 */
	private String fromProp;

	/**
	 * 来源属性类型
	 */
	private String fromPropType;

	/**
	 * 转换器名称
	 */
	private String converter;

	/**
	 * 有效标志 0-无效 1-有效
	 */
	private int status;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getToObj() {
		return toObj;
	}

	public String getToType() {
		return toType;
	}

	public void setToType(String toType) {
		this.toType = toType;
	}

	public String getFromType() {
		return fromType;
	}

	public void setFromType(String fromType) {
		this.fromType = fromType;
	}

	public void setToObj(String toObj) {
		this.toObj = toObj;
	}

	public String getToProp() {
		return toProp;
	}

	public void setToProp(String toProp) {
		this.toProp = toProp;
	}

	public String getToPropType() {
		return toPropType;
	}

	public void setToPropType(String toPropType) {
		this.toPropType = toPropType;
	}

	public String getFromObj() {
		return fromObj;
	}

	public void setFromObj(String fromObj) {
		this.fromObj = fromObj;
	}

	public String getFromProp() {
		return fromProp;
	}

	public void setFromProp(String fromProp) {
		this.fromProp = fromProp;
	}

	public String getFromPropType() {
		return fromPropType;
	}

	public void setFromPropType(String fromPropType) {
		this.fromPropType = fromPropType;
	}

	public String getConverter() {
		return converter;
	}

	public String getCodeId() {
		return codeId;
	}

	public void setCodeId(String codeId) {
		this.codeId = codeId;
	}

	public void setConverter(String converter) {
		this.converter = converter;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}
}
